<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Roles extends Model
{
    protected $primaryKey = 'role_id';

    public function accessIds()
    {
        return $this->hasMany(RoleAccess::class, 'ra_roleId', 'role_id');
    }
}
